    <head>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/scrollable.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/jquery.ui.wxgrid.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/jquery.validate.min.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/jquery.validate.wrapper.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/Calendar/jscal2.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/Calendar/lang/cn.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/webapp/common/wxValidate.js"></script>
        <script type="text/javascript" src="${rc.contextPath}/Scripts/webapp/01_trade/commercialInvoice_newLinesWizard.js"></script>
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/Styles/Grid.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/Styles/Forms_Edit.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/Styles/Calendar/jscal2.css" />
        <style type="text/css">
            #wizard {font-size:12px; overflow:hidden; position:relative;}
            #wizard .items{width:20000px; clear:both; position:absolute;}
            #wizard .right{float:right;}
            .page{position:relative; padding:10px 30px; float:left;}
            .page h3{height:28px; font-size:14px; border-bottom:1px solid #4f82bd; margin-bottom:10px;}
            .btn_nav{position:absolute; right:30px; top:20px; width:130px;}
        </style>
    </head>
    <body>
        <div id="wizard">
            <div class="items">
                <div class="page">
                    <h3>第一步：设置检索条件</h3>
                    <div style="clear:both; position:relative; top:0px; display:block; z-index:10px;">
                        <div class="buttonWrapper" style="height:22px; line-height:22px;">
                            <input type="button" name="_ButDoSearch" value="搜索" id="ButDoSearch" class="actButton" onclick="page01Handler.DoSearch();" />
                        </div>
                        <input type="hidden" id="CustomerId" />
                        <table class="field" style="width:100%; margin-top:10px;">
                            <colgroup>
                                <col style="width: 110px;" />
                                <col />
                            </colgroup>
                            <tbody>
                                <tr>
                                    <th>款号</th>
                                    <td>
                                        <input type="text" id="NoOfStyle" name="_NoOfStyle" style="width:250px;" tabindex="1" />（注：套装款号必须用"/"分隔）
                                    </td>
                                </tr>
                                <tr>
                                    <th>合同号</th>
                                    <td>
                                        <input type="text" id="NoOfContract" name="_NoOfContract" style="width:250px;" tabindex="2" />
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="btn_nav">
                        <input type="button" value="下一步" class="actButton next right" />
                    </div> 
                </div>
                <div class="page">
                    <h3>第二步：选择销售合同</h3>
                    <div style="clear:both; position:relative; top:0px; display:block; z-index:10px;">
                        <div class="buttonWrapper" style="height:0px; line-height:22px;">
                            <!--input type="button" name="_ButDoChoice02" value="确定" id="ButDoChoice02" class="actButton" onclick="page02Handler.DoChoice();" /-->
                        </div>
                    </div>
                    <div id="gridWrapper02" style="clear:both; position:relative; top:8px;">
                        <table id="tabSlave02" class="grid01" style="width:100%;">
                            <tr>
                                <th style="padding:0px;">
                                    <table id="tabHeader02" class="grid01" style="border:none; width:100%;">
                                        <colgroup>
                                            <col style="width: 36px;" />
                                            <col style="width: 36px;" />
                                            <col style="width: 120px;" />
                                            <col style="width: 160px;" />
                                            <col style="width: 60px;" />
                                            <col />
                                        </colgroup>
                                        <thead>
                                            <tr>
                                                <th style="text-align:center; border-bottom:none;">
                                                    <label class="btn" for="CheckAll02"><input id="CheckAll02" type="checkbox" onclick="page02Handler.DoCheckAll($(this));" /><i></i><span></span></label>
                                                </th>
                                                <th style="border-bottom:none; text-align:center;">#</th>
                                                <th style="border-bottom:none;">款号</th>
                                                <th style="border-bottom:none;">货物名称</th>
                                                <th style="border-bottom:none;">单价</th>
                                                <th style="border-bottom:none;">货币单位</th>
                                            </tr>
                                        </thead>
                                    </table>
                                </th>
                            </tr>
                            <tr>
                                <td style="padding:0px;">
                                    <div id="divContent_02" class="gridDataWrapper" style="border:none; width:100%; max-height:359px; overflow-y:scroll; overflow:-moz-scrollbars-vertical;">
                                        <table id="tabData02" class="grid01" style="margin-top:-1px; border:none; width:100%;">
                                            <colgroup>
                                                <col style="width: 36px;" />
                                                <col style="width: 36px;" />
                                                <col style="width: 120px;" />
                                                <col style="width: 160px;" />
                                                <col style="width: 60px;" />
                                                <col />
                                            </colgroup>
                                            <tbody>
                                            </tbody>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                        </table>
                        <!--div id="wrapper_navbar_02" class="navStripPanel">
                            <div style="float:right;">
                                <div style="float:left; display:inline-block; height:22px; line-height:22px;">
                                    <span id="page-first-02" class="p_first arrow page-first" data-action="first">首页</span>
                                    <span id="page-previous-02" class="p_previous arrow page-previous" data-action="previous">上一页</span>
                                    <abbr id="page_indicator_block-02" class="page_indicator_block" _msh_page="1" style="margin:0 10px; width:40px;">1 of 7</abbr>
                                    <span id="page-next-02" class="p_next arrow page-next" data-action="next">下一页</span>
                                    <span id="page-last-02" class="p_last arrow page-last" data-action="last">尾页</span>
                                    <input id="curr-page-02" class="curr-page" style="width:36px;" />
                                </div>
                                <div class="buttonwrapper" style="display: inline-block; height:22px; margin-left:3px;">
                                    <input type="button" name="btn_goto" value="跳转" id="but_goto_02" class="actButton page-goto" onclick="" />
                                </div>
                            </div>
                        </div-->
                    </div>
                    <div class="btn_nav">
                        <input type="button" value="上一步" class="actButton prev" style="float:left"/>
                        <input type="button" value="下一步" class="actButton next right"/>
                    </div> 
                </div>
                <div class="page">
                    <h3>第三步：选择发货单</h3>
                    <div style="clear:both;position:relative;top:0px;display:block;z-index:10px;">
                        <div class="buttonWrapper" style="height:0px;line-height:22px;">
                            <!--input type="button" name="_ButDoChoice03" value="确定" id="ButDoChoice03" class="actButton" onclick="page03Handler.DoSearch();" /-->
                        </div>
                    </div>
                    <div id="gridWrapper03" style="clear:both; position:relative; top:8px;">
                        <table id="tabSlave03" class="tbDataList" style="width:100%;">
                            <tr>
                                <td>
                                    <div id="divH0301" style="overflow:hidden; width:512px;">
                                        <table id="tabHeader0301" class="grid01" style="width:100%;">
                                            <colgroup>
                                                <col style="width: 36px;" />
                                                <col style="width: 36px;" />
                                                <col style="width: 120px;" />
                                                <col style="width: 160px;" />
                                                <col style="width: 159px;" />
                                            </colgroup>
                                            <thead>
                                                <tr>
                                                    <th style="text-align:center;">
                                                        <label class="btn" for="CheckAll03"><input id="CheckAll03" type="checkbox" onclick="page03Handler.DoCheckAll($(this));" /><i></i><span></span></label>
                                                    </th>
                                                    <th style="text-align:center;">#</th>
                                                    <th>款号</th>
                                                    <th>主合同号</th>
                                                    <th>客户名称</th>
                                                </tr>
                                            </thead>
                                        </table>
                                    </div>
                                </td>
                                <td>
                                    <div id="divH0302" style="overflow:hidden; width:529px; border-right:1px solid #c6c3bd;">
                                        <table id="tabHeader0302" class="grid01" style="border-left:none; width:1320px;">
                                            <colgroup>
                                                <col style="width:90px;" />
                                                <col style="width:80px;" />
                                                <col style="width:130px;" />
                                                <col style="width:160px;" />
                                                <col style="width:90px;" />
                                                <col style="width:90px;" />
                                                <col style="width:90px;" />
                                                <col style="width:90px;" />
                                            </colgroup>
                                            <thead>
                                                <tr>
                                                    <th>总数量</th>
                                                    <th>总箱数</th>
                                                    <th>目的港</th>
                                                    <th>唛头号</th>
                                                    <th>净重</th>
                                                    <th>毛重</th>
                                                    <th>体积</th>
                                                    <th style="border-right:none;">发货日期</th>
                                                </tr>
                                            </thead>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td style="vertical-align:top;">
                                    <div id="divD0301" class="gridDataWrapper" style="border:none; overflow:hidden; width:512px;">
                                        <table id="tabData0301" class="grid01" style="border-width:0px 0px 0px 1px; width:100%;">
                                            <colgroup>
                                                <col style="width: 36px;" />
                                                <col style="width: 36px;" />
                                                <col style="width: 120px;" />
                                                <col style="width: 160px;" />
                                                <col style="width: 159px;" />
                                            </colgroup>
                                            <tbody>
                                            </tbody>
                                        </table>
                                    </div>
                                </td>
                                <td style="vertical-align:top;">
                                    <div id="divD0302" class="gridDataWrapper" style="width:700px;" onscroll="thisPage.scrollTo();">
                                        <table id="tabData0302" class="grid01" style="border:none; width:1320px; background-color:#fff;">
                                            <colgroup>
                                                <col style="width:90px;" />
                                                <col style="width:80px;" />
                                                <col style="width:130px;" />
                                                <col style="width:160px;" />
                                                <col style="width:90px;" />
                                                <col style="width:90px;" />
                                                <col style="width:90px;" />
                                                <col style="width:90px;" />
                                            </colgroup>
                                            <tbody>
                                            </tbody>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <!--tr>
                                <td colspan="2">
                                    <div id="wrapper_navbar_03" class="navStripPanel">
                                        <div style="float:right;">
                                            <div style="float: left; display: inline-block; height: 22px; line-height: 22px;">
                                                <span id="page-first-03" class="p_first arrow page-first" data-action="first">首页</span>
                                                <span id="page-previous-03" class="p_previous arrow page-previous" data-action="previous">上一页</span>
                                                <abbr id="page_indicator_block-03" class="page_indicator_block" _msh_page="1" style="margin: 0 10px; width: 40px;">1 of 7</abbr>
                                                <span id="page-next-03" class="p_next arrow page-next" data-action="next">下一页</span>
                                                <span id="page-last-03" class="p_last arrow page-last" data-action="last">尾页</span>
                                                <input id="curr-page-03" class="curr-page" style="width:36px;" />
                                            </div>
                                            <div class="buttonwrapper" style="display: inline-block; height:22px; margin-left:3px;">
                                                <input type="button" name="btn_goto" value="跳转" id="but_goto_03" class="actButton page-goto" onclick="" />
                                            </div>
                                        </div>
                                    </div>
                                </td>
                            </tr-->
                        </table>
                    </div>
                    <div class="btn_nav"> 
                        <input type="button" value="上一步" class="actButton prev" style="float:left"/>
                        <input type="button" value="下一步" class="actButton next right"/>
                    </div> 
                </div>
                <div class="page">
                    <h3>第四步：得到售后合同明细</h3>
                    <div style="clear:both;position:relative;top:0px;display:block;z-index:10px;">
                        <div class="buttonWrapper" style="height:22px;line-height:22px;">
                            <input type="button" name="_ButAddLines" value="查看结果" id="ButAddLines" runat="server" class="actButton" onclick="page04Handler.ShowResult();" />
                            <input type="button" name="_ButSaveLines" value="确定" id="ButSaveLines" runat="server" class="actButton" onclick="page04Handler.DoSave();" />
                        </div>
                    </div>
                    <div id="gridWrapper04" style="clear:both; position:relative; top:8px;">
                        <table id="tabLinesContent" class="tbDataList" style="width:100%;">
                            <tr>
                                <td>
                                    <div id="divH0401" style="overflow:hidden; width:310px;">
                                        <table id="tabHeader0401" class="grid01" style="width:100%">
                                            <colgroup>
                                                <col style="width: 130px;" />
                                                <col style="width: 179px;" />
                                            </colgroup>
                                            <thead>
                                                <tr>
                                                    <th>款号</th>
                                                    <th>产品名称</th>
                                                </tr>
                                            </thead>
                                        </table>
                                    </div>
                                </td>
                                <td style="position:relative;">
                                    <div id="r_header" style="position:absolute; top:0px; left:1110px; border:1px solid #c6c3bd; display:block; width:19px; height:25px; background:#edead8; z-index:+1;"></div>
                                    <div id="divH0402" style="overflow:hidden; border-right:1px solid #c6c3bd;">
                                        <table id="tabHeader0402" class="grid01" style="border-left:none; width:1360px;">
                                            <colgroup>
                                                <col style="width: 80px;" />
                                                <col style="width: 90px;" />
                                                <col style="width: 90px;" />
                                                <col style="width: 130px;" />
                                                <col style="width: 70px;" />
                                                <col style="width: 130px;" />
                                                <col style="width: 160px;" />
                                                <col style="width: 90px;" />
                                                <col style="width: 90px;" />
                                                <col style="width: 90px;" />                                            
                                                <col style="width: 90px;" />
                                                <col style="width: 160px;" />
                                                <col style="width: 90px;" />
                                            </colgroup>
                                            <thead>
                                                <tr>
                                                    <th>单价</th>
                                                    <th>货币单位</th>
                                                    <th>发货总数</th>
                                                    <th>目的港</th>
                                                    <th>箱数</th>
                                                    <th>唛头号</th>
                                                    <th>主合同号</th>
                                                    <th>净重</th>
                                                    <th>毛重</th>
                                                    <th>体积</th>
                                                    <th>客户名称</th>
                                                    <th>发货日期</th>
                                                </tr>
                                            </thead>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td style="vertical-align:top;">
                                    <div id="divD0401" class="gridDataWrapper" style="border:none; border-bottom:1px solid #c6c3bd; overflow:hidden; width:310px;">
                                        <table id="tabData0401" class="grid01 dragtable" style="margin-top:-1px; border-width:1px 0px 0px 1px; width:100%;">
                                            <colgroup>
                                                <col style="width: 130px;" />
                                                <col style="width: 180px;" />
                                            </colgroup>
                                            <tbody>
                                            </tbody>
                                        </table>
                                    </div>
                                </td>
                                <td style="position:relative; vertical-align:top;">
                                    <div id="r_line" style="position:absolute; top:0px; left:1110px; display:block; width:1px; height:209px; background:#c6c3bd; z-index:+1;"></div>
                                    <div id="b_line" style="position:absolute; top:191px; left:0px; display:block; width:1420px; height:1px; background:#c6c3bd; z-index:+1;"></div>
                                    <div id="divD0402" class="gridDataWrapper" style="position:relative; overflow:scroll;" onscroll="thisPage.scrollTo_01();">
                                        <table id="tabData0402" class="grid01 dragtable" style="margin-top:-1px; border-width:1px 0px 0px 0px; width:1360px; background-color:rgb(255,255,255);">
                                            <colgroup>
                                                <col style="width: 80px;" />
                                                <col style="width: 90px;" />
                                                <col style="width: 90px;" />
                                                <col style="width: 130px;" />
                                                <col style="width: 70px;" />
                                                <col style="width: 130px;" />
                                                <col style="width: 160px;" />
                                                <col style="width: 90px;" />
                                                <col style="width: 90px;" />
                                                <col style="width: 90px;" />                                            
                                                <col style="width: 90px;" />
                                                <col style="width: 160px;" />
                                                <col style="width: 90px;" />
                                            </colgroup>
                                            <tbody>
                                            </tbody>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="btn_nav"> 
                        <input type="button" value="上一步" class="actButton prev" style="float:left";"/>
                        <input type="button" value=" 关闭 " class="actButton right" onclick="closePopupWnd();" />
                    </div> 
                </div>
            </div> 
        </div>
        <input id="HeaderId" type="hidden" value="0" />
    </body>